<script setup>
import {ElConfigProvider} from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
</script>
<template>
    <router-view v-slot="{ Component }">
      <transition name="el-fade-in">
        <el-config-provider :locale="zhCn">
          <component :is="Component"/>
        </el-config-provider>
      </transition>
    </router-view>
</template>
